projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce49c8
)
(indent-c-exp): Call calculate-c-indent-within-comment when appropriate.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 21 Jul 1993 08:50:30 +0000
(08:50 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 21 Jul 1993 08:50:30 +0000
(08:50 +0000)
lisp/progmodes/c-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-mode.el
b/lisp/progmodes/c-mode.el
index 667f1d174e9e17379e50e1762bfe436c58382b07..d9c673cd384837ebcedd95f07db3ec42ec658e45 100644
(file)
--- a/
lisp/progmodes/c-mode.el
+++ b/
lisp/progmodes/c-mode.el
@@
-1112,6
+1112,10
@@
ENDPOS is encountered."
(if (car indent-stack)
(- (car indent-stack))
opoint))))
+ ;; t means we are in a block comment and should
+ ;; calculate accordingly.
+ (if (eq val t)
+ (setq val (calculate-c-indent-within-comment)))
(setcar indent-stack
(setq this-indent val))))
;; Adjust line indentation according to its contents